package com.yykj.im.center.client.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ClientSystemNoticeDto {

    @ApiModelProperty(value = "消息id")
    public String id;

    @ApiModelProperty(value = "如果发送成功 微信返回的taskId")
    public String msgKey;

    @ApiModelProperty(value = "消息标题")
    public String title;

    @ApiModelProperty(value = "消息内容")
    public String content;

    @ApiModelProperty(value = "链接地址,点击可跳转H5页面")
    public String url;

    @ApiModelProperty(value = "备注")
    public String remark;

    @ApiModelProperty("真正发送日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime doSendTime;

}
